package com.ymatou.iapi.productmanager.service;

import java.util.Arrays;
import java.util.List;

import org.json.JSONArray;
import org.json.JSONObject;

import com.ymttest.business.YmatouAutoTestCall;
import com.ymttest.utils.EnvSetup;
import com.ymttest.utils.MapUtil;

public class GetProductCheckStatusListCall  extends YmatouAutoTestCall {

	private static String opurl ="api/SellerProduct/GetProductCheckStatusList";

	public GetProductCheckStatusListCall() {
		super(EnvSetup.getSystemUrl("productmanager"),opurl,"POST","JSON");
	}
	
	public void addDefHeader() {
		client.addHeader("Content-Type", "application/json");
	}

	

	public JSONObject call(List<String> prodIdList){
		return this.callAndGetReturnData(MapUtil.hashMap("ProductIdList",new JSONArray(prodIdList)));
		
	}
	
	
	
	public static void main(String[] args) {
		GetProductCheckStatusListCall aCall = new GetProductCheckStatusListCall();
		aCall.call(Arrays.asList("4fa8b649-fff5-40dd-a8f6-27d1641574f7"));
	}

}